package com.fxwater.websocket.service.impl;

import com.fxwater.websocket.domain.ScheduledTask;
import com.fxwater.websocket.mapper.ScheduledTaskMapper;
import com.fxwater.websocket.service.IScheduledTaskService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

/**
 * <p>
 * 任务调度记录表 服务实现类
 * </p>
 *
 * @author 王明朝
 */
@Service
public class ScheduledTaskServiceImpl implements IScheduledTaskService {

    @Autowired
    private ScheduledTaskMapper scheduledTaskMapper;

    @Override
    public void add(ScheduledTask scheduledTask) {

    }

    @Override
    public List<ScheduledTask> listScheduledTask() {
        return scheduledTaskMapper.listScheduledTask();
    }
}
